Displaying web widgets

You can install and display JavaScript-based web widgets (plugins, gadgets) in your WCM-generated websites using the Content HTML iPart. A web widget is a small program that your users can execute within a web page and that can provide a wide range of functionality.

For example, Google Gadgets offers thousands of free web widgets including mini applications, games, news feeds, maps, and a wide range of other types of content. Many other websites also provide free widgets that can access data from their site. For example, Twitter provides widgets that let you display Twitter updates on your website. LinkedIn provides plugins that display information such as company profiles, member profiles, and links to share on LinkedIn. You just have to search the web to see what you can find that meets your needs.

Warning: Only embed widgets from authors whom you trust. Malicious code may damage your computer or violate your privacy.

To add a JavaScript-based web widget to a webpage

1.  From Content Management > Content designer > Manage content, create a new content record or edit an existing one.

2.  Click add content to find and select the Content Html iPart.

The Configure iPart window opens.

3.  Click < > HTML to switch to HTML mode.

4.  Copy the JavaScript embed code for the widget you want to add and paste it into the HTML area.

5.  Click OK, then Save and Publish your content record.

The widget is displayed when that content record is rendered on a webpage.